package com.manlitech.cloudboot.oauth.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.manlitech.cloudboot.oauth.pojo.UserPojo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author shensg
 * @date 2021/7/9 15:47
 */
public interface UserMapper extends BaseMapper<UserPojo> {

    /** 使用默认数据库*/
    @Select("${sql}")
    UserPojo getUserPojoByUsername(@Param("sql")String sql);

}
